package com.appspot.zcmjqm.app.model;

public class Contact {
	
	private String name;
	private String phone;
	private String email;
	private String message;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public String getEmailBody() {
		StringBuffer b = new StringBuffer();
		b.append("Name: " + getName() + "\n");
		b.append("Email: " + getEmail() + "\n");
		b.append("Phone: " + getPhone() + "\n");
		b.append("Message: " + getMessage() + "\n");
		return b.toString();
	}

}
